/// id : 1938051113810960385
/// nickname : "wu"
/// username : "brucewu5"
/// avatarUrl : "user-avatar:Default.jpg"
/// accessToken : "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxOTM4MDUxMTEzODEwOTYwMzg1IiwiZXhwIjoxNzUzNDk2NTM5LCJpYXQiOjE3NTM0OTI5MzksImF1dGhvcml0aWVzIjpbIi91c2VyL2F1dGgvYXV0aG9yaXR5L2NyZWF0ZSIsIi91c2VyL2F1dGgvYXV0aG9yaXR5L2xpc3QiLCIvdXNlci97aWR9Il0sImp0aSI6IjE2M2Y2ZDE2LWU2NmYtNDZhZS04NjNhLTQ1OTAzOTllMzA0NyIsInVzZXJuYW1lIjoiYnJ1Y2V3dTUifQ.0370090ZCEq2caGc0g6QWGMcoqu7tQ7ymSONwIMpPt0"
/// refreshToken : "eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NTQwOTc3MzksInN1YiI6IjE5MzgwNTExMTM4MTA5NjAzODUiLCJpYXQiOjE3NTM0OTI5Mzl9.9-pXQ9nCvnch7yFEoVDdSD_palBoi4LuJsCWny-uhfE"

class User {
  User({
      this.id, 
      this.nickname, 
      this.username, 
      this.avatarUrl, 
      this.accessToken, 
      this.refreshToken,});

  User.fromJson(dynamic json) {
    id = json['id'];
    nickname = json['nickname'];
    username = json['username'];
    avatarUrl = json['avatarUrl'];
    accessToken = json['accessToken'];
    refreshToken = json['refreshToken'];
  }
  num? id;
  String? nickname;
  String? username;
  String? avatarUrl;
  String? accessToken;
  String? refreshToken;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['nickname'] = nickname;
    map['username'] = username;
    map['avatarUrl'] = avatarUrl;
    map['accessToken'] = accessToken;
    map['refreshToken'] = refreshToken;
    return map;
  }

}